﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Main.aspx.cs" Inherits="lcgps.Web.Main" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Expires" content="0" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>信息服务平台</title>
    <script src="Script/easyui/jquery.min.js"></script>
    <script src="Script/easyui/jquery.easyui.min.js"></script>
    <script src="Script/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script src="Script/changeEasyUITheme.js"></script>
    <link id="easyuiTheme" href="/Script/easyui/themes/default/easyui.css" rel="stylesheet" />
    <link href="Script/easyui/themes/icon.css" rel="stylesheet" />
    <%--<script src="Script/menu.js"></script>--%>
    <script src="Script/main.js"></script>
    <link href="CSS/default.css" rel="stylesheet" />
    <link href="CSS/list.css" rel="stylesheet" />
    <link href="CSS/IconExtension.css" rel="stylesheet" />
   
    <script type="text/javascript">  
        var _menus = '';        
        var theme; 
        $(function () {
            $("#editpass").click(function () {
                $('#w').window('open');
            });
            $('#btnEp').click(function () {
                serverLogin();
            });

            $('#btnCancel').click(function () {
                closePwd();
            })            
            _menus = { menus: [{ "menuid": 72, "menuname": "地图", "url": "#", "icon": "icon-weather_sun", "menus": [{ "menuid": 90, "menuname": "地图", "url": "/gpsinfo/list.aspx", "icon": "icon-chart_curve", "menus": [] }, { "menuid": 91, "menuname": "车辆路径管理", "url": "/gpsinfo/listinfo.aspx", "icon": "icon-chart_curve", "menus": [] }, { "menuid": 92, "menuname": "订单照片管理", "url": "/mobileSendInfo/List.aspx", "icon": "icon-chart_curve", "menus": [] }] }] };
            InitLeftMenu();           
            tabClose();
            tabCloseEven();
            closePwd();
            $("#info").window("close");            
            if ($.cookie('easyuiThemeName')) {
                changeThemeFun($.cookie('easyuiThemeName'));
                theme = $.cookie('easyuiThemeName');
            }            
            $('#loginOut').click(function () {
                $.messager.confirm('系统提示', '您确定要退出本次登录吗?', function (r) {
                    if (r) {
                        location.href = 'loginout.aspx';
                    }
                });
            });           
        });
       
    </script>
    <style type="text/css">
        * {
            margin: 0px;
            padding: 0px;
            border: 0px;
        }

        #myul {
            width: 90%;
            height: 600px;
        }

            #myul li {
                list-style-type: none;
                float: left;
                width: 210px;
                text-align: center;
                margin: 5px;
            }

            #myul span {
                color: orange;
                font-size: 24px;
            }

            #myul img {
                border: 0px;
            }
    </style>
</head>
<body class="easyui-layout" style="overflow-y: hidden" scroll="no">
    <noscript>
        <div style="position: absolute; z-index: 100000; height: 2046px; top: 0px; left: 0px; width: 100%; background: white; text-align: center;">
            <img src="images/noscript.gif" alt='抱歉，请开启脚本支持！' />
        </div>
    </noscript>
    <div region="north" split="true" title="用户信息" style="overflow: hidden; height: 73px; background: url(images/top.jpg) #7f99be no-repeat; line-height: 20px; background-color: #336fad; color: #fff; font-family: Verdana, 微软雅黑,黑体">

        <span style="float: right; text-align: right; padding-right: 20px; margin-top: 15px;" class="head">
            <a href="#" id="mb" class="easyui-menubutton" data-options="menu:'#menu',iconCls:'icon-ok'">换肤</a>
            <a href="#" id="editpass">修改密码</a>
            <a href="#" id="loginOut">安全退出</a><br />
            欢迎 <span id="myinfos"></span></span>
    </div>
    <div region="south" style="height: 30px; ">
        <div class="footer">青岛信元物和供应链有限公司</div>
    </div>
    <div region="west" split="true" title="导航菜单" style="width: 180px;" id="west">
        <div class="easyui-accordion1" fit="true" border="false">
            <!--  导航内容 -->



        </div>

    </div>
    <div id="mainPanle" region="center" style="background: #eee; overflow-y: hidden">
        <div id="tabs" class="easyui-tabs" fit="true">
            <div title="欢迎使用" style="padding: 5px; overflow: hidden;" id="home">
                <div style="display:none;">
                <table id="tt" ></table>
                    </div>
                <div style="background: #eee; overflow: auto;height:100%;width:100%;">  
                 <div id="mymap"  style="height:100%;width:100%;"></div>   
                    </div>            
            </div>
        </div>
    </div>
    <div id="w" class="easyui-window" title="修改密码" collapsible="false" minimizable="false"
        maximizable="false" icon="icon-save" style="width: 300px; height: 150px; padding: 5px; background: #fafafa;">
        <div class="easyui-layout" fit="true">
            <div region="center" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
                <table cellpadding="3">
                    <tr>
                        <td>旧密码：
                        </td>
                        <td>
                            <input id="OldPassword" name="OldPassword" type="Password" class="easyui-validatebox" required="true" />
                        </td>
                    </tr>

                    <tr>
                        <td>新密码：</td>
                        <td>
                            <input id="NewPassword" type="Password" class="txt01" /></td>
                    </tr>
                    <tr>
                        <td>确认密码：</td>
                        <td>
                            <input id="txtRePass" type="Password" class="txt01" /></td>
                    </tr>
                </table>
            </div>
            <div region="south" border="false" style="text-align: right; height: 40px; line-height: 30px;">
                <a id="btnEp" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)">确定</a> <a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">取消</a>
            </div>
        </div>
    </div>
    <div id="menu" class="easyui-menu" style="width: 120px;">
        <div onclick="changeThemeFun('default')">Default</div>
        <div onclick="changeThemeFun('gray')">Gray</div>
        <div onclick="changeThemeFun('black')">Black</div>
        <div onclick="changeThemeFun('bootstrap')">bootstrap</div>
        <div onclick="changeThemeFun('metro')">metro</div>
        <div onclick="changeThemeFun('metro-blue')">metro-blue</div>
        <div onclick="changeThemeFun('metro-gray')">metro-gray</div>
        <div onclick="changeThemeFun('metro-green')">metro-green</div>
        <div onclick="changeThemeFun('metro-orange')">metro-orange</div>
        <div onclick="changeThemeFun('metro-red')">metro-red</div>
        <div onclick="changeThemeFun('ui-cupertino')">ui-cupertino</div>
        <div onclick="changeThemeFun('ui-dark-hive')">ui-dark-hive</div>
        <div onclick="changeThemeFun('ui-pepper-grinder')">ui-pepper-grinder</div>
        <div onclick="changeThemeFun('ui-sunny')">ui-sunny</div>

    </div>
    <div id="mm" class="easyui-menu" style="width: 150px;">
        <div id="mm-tabclose">关闭</div>
        <div id="mm-tabcloseall">全部关闭</div>
        <div id="mm-tabcloseother">除此之外全部关闭</div>
        <div class="menu-sep"></div>
        <div id="mm-tabcloseright">当前页右侧全部关闭</div>
        <div id="mm-tabcloseleft">当前页左侧全部关闭</div>
        <div class="menu-sep"></div>
        <div id="mm-exit">退出</div>
    </div>    
    
    <div id="notity"></div>
</body>
</html>
